<div class='footer'>
	<div class='container-fluid'>
	<div class='row'>
		<a href='{:url('index/index')}'>
		<div class='col-xs-3'> 
			<img id='shouye_img' src='__CDN__/assets/img/bikebi/shouye2.png'>
		    <p id='shouye_p'>首页</p> 
		</div>
	    </a>
	    <a href='{:url('index/user/jiaoyi')}'>
		<div class='col-xs-3'> 
			 <img id='jiaoyi_img' src='__CDN__/assets/img/bikebi/jiaoyi2.png'>
		     <p id='jiaoyi_p'>交易</p>
		</div>
	    </a>
	    <a href='{:url('index/apply/index')}'>
		<div class='col-xs-3'> 
			 <img id='app_img' src='__CDN__/assets/img/bikebi/app2.png'>
		     <p id='app_p'>应用</p>
		</div>
	    </a>
	    <a href='{:url('index/user/index')}'>
		<div class='col-xs-3'> 
			 <img id='mine_img' src='__CDN__/assets/img/bikebi/mine2.png'>
	     	<p  id='mine_p'>我的</p>
		</div>
	    </a>
	</div>
    </div>
</div>
<script type="text/javascript">
	var url = window.location.pathname;
	//console.log(urld);
	var index_arr=['','/index/index/index.html','/index','/index/index','/'];
    var jiaoyi_arr=[];
    var apply_arr=[];
    var usr_arr=[];
    if(index_arr.indexOf(url)>0){
    	document.getElementById('shouye_img').src="__CDN__/assets/img/bikebi/shouye.png";
        document.getElementById('shouye_p').style.color='#1C86EE';
    }else if (url=='/index/apply/index.html') {
    	document.getElementById('app_img').src="__CDN__/assets/img/bikebi/app.png";
		document.getElementById('app_p').style.color='#1C86EE';
    }else if(url=='/index/user/index.html'){
        document.getElementById('mine_img').src="__CDN__/assets/img/bikebi/mine.png";
        document.getElementById('mine_p').style.color='#1C86EE';
    }else if(url=='/index/user/jiaoyi.html'){
        document.getElementById('jiaoyi_img').src="__CDN__/assets/img/bikebi/jiaoyi.png";
		document.getElementById('jiaoyi_p').style.color='#1C86EE';
    }
</script>